﻿using UnityEngine;
using System.Collections;

public class SettingsUI : MonoBehaviour {

    public TestMove BG_m;
    public TestMove Back_m;
    public TestHGmove HG_1_m;
    public TestHGmove HG_2_m;

    public void OnEasy()
    {
        BG_m.BGspeed = 0.1f;
        Back_m.BGspeed = 0.1f;
        HG_1_m.HGspeed = 2f;
        HG_2_m.HGspeed = 2f;
    }
    public void OnNormal()
    {
        BG_m.BGspeed = 0.25f;
        Back_m.BGspeed = 0.25f;
        HG_1_m.HGspeed = 3f;
        HG_2_m.HGspeed = 3f;

    }
    public void OnDifficult()
    {
        BG_m.BGspeed = 0.5f;
        Back_m.BGspeed = 0.5f;
        HG_1_m.HGspeed = 8f;
        HG_2_m.HGspeed = 8f;
    }
   
}
